<%-- 
    Document   : modificar-usuario
    Created on : 24/03/2011, 19:15:58
    Author     : Administrador
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>

    <body>

        <h2>Estos son los datos del usuario elegido </h2>
        <center>
            <form name="modificar" action="modificarUsuario?id=modificar" method="POST">
             <table align="center" cellpadding="2" cellspacing="2" border="1"
                   width="80%" bgcolor="#dddddd">
            <tr>
                <th>USUARIO:</th>
                <td><input type="text" name="usuario" disabled value="<%=request.getAttribute("usuario")%>"/></td>
            </tr>
            <tr>
                <th>NOMBRE:</th>
                <td><input type="text" name="nombre" value="<%=request.getAttribute("nombre")%>" size="35" /></td>
            </tr>

            <tr>
                <th>APELLIDO:</th>
                <td><input type="text" name="apellido" value="<%=request.getAttribute("apellido")%>" size="35" /></td>
            </tr>
            <tr>
                <th>DNI:</th>
                <td> <input type="text" name="dni" value="<%=request.getAttribute("dni")%>" size="35" /></td>
            </tr>
            <tr>
                <th>PASSWORD ANTERIOR:</th>
                <td><input type="password" name="password" value="" size="35" /></td>
            </tr>

            <tr>
                <th>PASSWORD NUEVO:</th>
                <td><input type="password" name="newPassword" value="" size="35" ></td>
            </tr>
             </table>

            <input type="submit" value="Modificar" />

        </form>
        </center>      
    </body>
</html>
